package com.zhoukx.netty.simple;

import io.netty.util.NettyRuntime;

public class Test {
    public static void main(String[] args) {
        System.out.println(NettyRuntime.availableProcessors());
        mes(true);

    }

    public static void mes(boolean falg){
        boolean isOk = 1 > 2;
        try {
            assert isOk : "程序错误";
            System.out.println("程序正常");
        } catch (AssertionError err) {
            System.out.println(err.getMessage());
        }
    }
}
